/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.dapai.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.softtown.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 租赁订单明细表
 *
 * @author
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("comp_lease_order_detail")
public class CompLeaseOrderDetailEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 * id
	 * isNullAble:0
	 */
	private Long id;

	/**
	 * 公司id
	 * isNullAble:0
	 */
	private Long compId;

	/**
	 * 租赁订单id
	 * isNullAble:0
	 */
	private Long leaseOrderId;

	/**
	 * 设备id
	 * isNullAble:0
	 */
	private Long macScrewId;

	@TableField(exist = false)
	private String screwDiameter;


	@TableField(exist = false)
	private String macName;

	@TableField(exist = false)
	private String size;

	/**
	 * 租赁开始日期
	 * isNullAble:1
	 */
	private Date startDate;

	/**
	 * 数量
	 * isNullAble:0
	 */
	private Integer num;

	/**
	 * 租赁到期日期
	 * isNullAble:1
	 */
	private Date endDate;

	/**
	 * 总时长
	 * isNullAble:0
	 */
	private Integer totalTime;


	/**
	 * 是否出库0：否   1：是
	 * isNullAble:0
	 */
	private Integer isOut;

	/**
	 * 创建者
	 * isNullAble:1
	 */
	private Long creator;

	/**
	 * 创建时间
	 * isNullAble:1
	 */
	private Date createDate;

	/**
	 * 更新者
	 * isNullAble:1
	 */
	private Long updater;

	/**
	 * 更新时间
	 * isNullAble:1
	 */
	private Date updateDate;

	/**
	 * 更新时间戳
	 * isNullAble:1
	 */
	private String updateTimestamp;

	/**
	 * 逻辑删除
	 * isNullAble:1,defaultVal:0
	 */
	private Integer isDeleted;

}